# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
_mod=monitoring
pkgname="minetest-$_mod"
pkgver=1.04
pkgrel=0
pkgdesc="Monitoring mod for minetest server owners"
url="https://github.com/minetest-monitoring/monitoring"
# pcc64le, riscv64, loongarch64 blocked by luajit -> minetest
arch="noarch !ppc64le !riscv64 !loongarch64"
license="MIT"
depends="minetest-common"
source="https://github.com/minetest-monitoring/monitoring/archive/$pkgver/minetest-monitoring-$pkgver.tar.gz"
options="!check"
builddir="$srcdir"

package() {
	mkdir -p "$pkgdir/usr/share/minetest/mods"
	mv "$_mod-$pkgver" "$pkgdir/usr/share/minetest/mods/$_mod"
}

sha512sums="
14727670ec92ac0d74e6b772f3aa627df4ccf36be749e6b3926dcbcab837bd3b6d6fc05a9a5a7b71700f1a8f6252089674c8cd09c135c0ef9b86bfac64f0e93d  minetest-monitoring-1.04.tar.gz
"
